package com.huika.renrench.model;

import java.lang.reflect.Type;
import java.util.ArrayList;

import com.google.gson.Gson;
import com.google.gson.JsonDeserializationContext;
import com.google.gson.JsonDeserializer;
import com.google.gson.JsonElement;
import com.google.gson.JsonParseException;

public class ProjectImgsParse implements JsonDeserializer<ArrayList<ProjectImgs>>{
	private Gson mGson = new Gson();
	@Override
	public ArrayList<ProjectImgs> deserialize(JsonElement json, Type typeOfT, JsonDeserializationContext arg2) throws JsonParseException {
		ArrayList<ProjectImgs> imgs = new ArrayList<ProjectImgs>();
		imgs = mGson.fromJson(json, typeOfT);
		return imgs;
	}
	
}
